package com.juxing.service.accountCenter.dao.impl;

import org.apache.ibatis.session.SqlSessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;

import com.juxing.sdk.dao.BaseDao;

public class AbstractBaseDao extends BaseDao {

	@Override
	@Autowired
	@Qualifier("writeSqlSessionFactory")
	public void setWriteSqlSessionFactory(SqlSessionFactory sqlSessionFactory) {
		super.setWriteSqlSessionFactory(sqlSessionFactory);
	}

	@Override
	@Autowired
	@Qualifier("readSqlSessionFactory")
	public void setReadSqlSessionFactory(SqlSessionFactory sqlSessionFactory) {
		super.setReadSqlSessionFactory(sqlSessionFactory);
	}
}
